﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ETA.IService
{
    public interface IDocumentService
    {
        /// <summary>
        /// 返回所有banner列表
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        QueryDocumentResponse QueryDocumentList(QueryDocumentRequest req);

        /// <summary>
        /// 创建一个banner
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        CreateDocumentResponse CreateDocument(CreateDocumentRequest req);

        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        ModifyDocumentResponse ModifyDocument(ModifyDocumentRequest req);
    }
}
